<?php

/**
 * This file is part of project
 *
 * Author: arvin
 * Create: 2019-04-28 14:58:11
 */

namespace App\Services;

trait ModelServiceTrait
{
    public function callModelService($method, ...$params)
    {
        $service = new $this->serviceName($params);

        return $service->$method(...$params);
    }
}
